package com.tech.servlet;

import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import java.io.IOException;

/**
 * @Description:
 * @Author: zl
 * @Date: 2019/7/9 18:35
 */
public class ForwardAndRedirectDemo {

    RequestDispatcher requestDispatcher = new RequestDispatcher() {
        @Override
        public void forward(ServletRequest servletRequest, ServletResponse servletResponse) throws ServletException, IOException {

        }

        @Override
        public void include(ServletRequest servletRequest, ServletResponse servletResponse) throws ServletException, IOException {

        }
    };

    public static void main(String[] args) {

    }
}
